664f425617c583847312b7f7f523b029549e589e,ground-core/src/main/java/edu/berkeley/ground/api/models/gremlin/GremlinNodeFactory.java,GremlinNodeFactory,getLeaves,#String#,68

Before Change



    public List<String> getLeaves(String name) throws GroundException {
        GremlinConnection connection = this.dbClient.getConnection();
        return this.itemFactory.getLeaves(connection, "Nodes." + name);
    }

    public Node retrieveFromDatabase(String name) throws GroundException {

After Change



    public List<String> getLeaves(String name) throws GroundException {
        GremlinConnection connection = this.dbClient.getConnection();
        List<String> leaves = this.itemFactory.getLeaves(connection, "Nodes." + name);
        connection.commit();

        return leaves;
    }

    public Node retrieveFromDatabase(String name) throws GroundException {